package Models;

import java.io.Serializable;

public class CustomerGroup implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int id;
	private boolean auto;
	private String description;
	private String notes;
	private boolean obsolete;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public boolean isAuto() {
		return auto;
	}
	public void setAuto(boolean auto) {
		this.auto = auto;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public boolean isObsolete() {
		return obsolete;
	}
	public void setObsolete(boolean obsolete) {
		this.obsolete = obsolete;
	}
	
	public String getDisplayString(){
		return this.description + " (" + Integer.toString(this.id) + ")";
	}
}
